package com.lili.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lili.pojo.QuestionPractice;
import com.lili.vo.request.troop.PracticeQuesReqVO;
import com.lili.vo.request.troop.QueryReqVO;
import com.lili.vo.response.troop.AnswerCardRespVO;
import com.lili.vo.response.troop.PracticeListRespVO;
import com.lili.vo.response.troop.PracticeQuestionRespVO;

import java.util.List;


public interface QuestionPracticeService extends IService<QuestionPractice> {

    IPage<PracticeListRespVO> selectPracticeList(QueryReqVO vo);

    List<AnswerCardRespVO> selectCard(Integer subjectId, Integer userId);

    PracticeQuestionRespVO selectPracticeQuestion(PracticeQuesReqVO vo);

    Boolean correctQuestion(PracticeQuestionRespVO vo,Integer createUser);
}
